Skip to content

perf: cache slack channel to avoid multiple calls to slack API#71

Merged
scastlara merged 1 commit intomainfrom
cache-slack
Feb 25, 2026
Merged

perf: cache slack channel to avoid multiple calls to slack API#71
scastlara merged 1 commit intomainfrom
cache-slack

Conversation

@scastlara
Copy link
Collaborator

In the common case, we post reports to not that many channels, but we may post several times to the same channel.

For each message we post, we are calling the findChannel api.

This PR just uses a simple service-level cache to avoid multiple unnecessary calls.

asdasd

@scastlara scastlara requested a review from sacha-c as a code owner February 19, 2026 14:24
@scastlara scastlara changed the base branch from backoff to main February 19, 2026 14:41
@scastlara scastlara merged commit 3ede94a into main Feb 25, 2026
4 checks passed
@scastlara scastlara deleted the cache-slack branch February 25, 2026 07:59
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants